package com.isdepci.project.carbon.service;

import com.isdepci.framework.web.domain.AjaxResult;
import com.isdepci.project.carbon.domain.BGreenCarbonSink;
import com.isdepci.project.carbon.domain.BGreenCarbonSinkParameter;
import com.isdepci.project.carbon.domain.param.WeatherDataExcel;

import java.util.List;

/**
 * 绿化碳汇Service接口
 *
 * @author isdepci
 * @date 2025-03-29
 */
public interface IBGreenCarbonSinkService
{
    /**
     * 查询绿化碳汇
     */
     BGreenCarbonSink selectBGreenCarbonSinkById(Long id);

    /**
     * 查询绿化碳汇列表
     */
     List<BGreenCarbonSink> selectBGreenCarbonSinkList(BGreenCarbonSink bGreenCarbonSink);

    /**
     * 新增绿化碳汇
     */
     int insertBGreenCarbonSink(BGreenCarbonSink bGreenCarbonSink);

    /**
     * 修改绿化碳汇
     */
     int updateBGreenCarbonSink(BGreenCarbonSink bGreenCarbonSink);

    /**
     * 批量删除绿化碳汇
     */
     int deleteBGreenCarbonSinkByIds(Long[] ids);

    /**
     * 删除绿化碳汇信息
     */
     int deleteBGreenCarbonSinkById(Long id);

     BGreenCarbonSinkParameter getGreenCarbonSinkParameters(Integer greeningType);

    AjaxResult calGreenCarbon(Long projectId);

    AjaxResult changeDataByProjectId(WeatherDataExcel excel);
}
